﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200140B RID: 5131
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyMoveScNotify : IMessage<TrainPartyMoveScNotify>, IMessage, IEquatable<TrainPartyMoveScNotify>, IDeepCloneable<TrainPartyMoveScNotify>, IBufferMessage
	{
		// Token: 0x170040C3 RID: 16579
		// (get) Token: 0x0600E5EC RID: 58860 RVA: 0x00267473 File Offset: 0x00265673
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyMoveScNotify> Parser
		{
			get
			{
				return TrainPartyMoveScNotify._parser;
			}
		}

		// Token: 0x170040C4 RID: 16580
		// (get) Token: 0x0600E5ED RID: 58861 RVA: 0x0026747A File Offset: 0x0026567A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyMoveScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170040C5 RID: 16581
		// (get) Token: 0x0600E5EE RID: 58862 RVA: 0x0026748C File Offset: 0x0026568C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyMoveScNotify.Descriptor;
			}
		}

		// Token: 0x0600E5EF RID: 58863 RVA: 0x00267493 File Offset: 0x00265693
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyMoveScNotify()
		{
		}

		// Token: 0x0600E5F0 RID: 58864 RVA: 0x002674A6 File Offset: 0x002656A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyMoveScNotify(TrainPartyMoveScNotify other) : this()
		{
			this.oNDGNPKGJCB_ = other.oNDGNPKGJCB_;
			this.aEOHPMBENMO_ = other.aEOHPMBENMO_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E5F1 RID: 58865 RVA: 0x002674DC File Offset: 0x002656DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyMoveScNotify Clone()
		{
			return new TrainPartyMoveScNotify(this);
		}

		// Token: 0x170040C6 RID: 16582
		// (get) Token: 0x0600E5F2 RID: 58866 RVA: 0x002674E4 File Offset: 0x002656E4
		// (set) Token: 0x0600E5F3 RID: 58867 RVA: 0x002674EC File Offset: 0x002656EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ONDGNPKGJCB
		{
			get
			{
				return this.oNDGNPKGJCB_;
			}
			set
			{
				this.oNDGNPKGJCB_ = value;
			}
		}

		// Token: 0x170040C7 RID: 16583
		// (get) Token: 0x0600E5F4 RID: 58868 RVA: 0x002674F5 File Offset: 0x002656F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TrainPartyGameGrid> AEOHPMBENMO
		{
			get
			{
				return this.aEOHPMBENMO_;
			}
		}

		// Token: 0x0600E5F5 RID: 58869 RVA: 0x002674FD File Offset: 0x002656FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyMoveScNotify);
		}

		// Token: 0x0600E5F6 RID: 58870 RVA: 0x0026750C File Offset: 0x0026570C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyMoveScNotify other)
		{
			return other != null && (other == this || (this.ONDGNPKGJCB == other.ONDGNPKGJCB && this.aEOHPMBENMO_.Equals(other.aEOHPMBENMO_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E5F7 RID: 58871 RVA: 0x0026755C File Offset: 0x0026575C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ONDGNPKGJCB != 0U)
			{
				num ^= this.ONDGNPKGJCB.GetHashCode();
			}
			num ^= this.aEOHPMBENMO_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E5F8 RID: 58872 RVA: 0x002675A9 File Offset: 0x002657A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E5F9 RID: 58873 RVA: 0x002675B1 File Offset: 0x002657B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E5FA RID: 58874 RVA: 0x002675BC File Offset: 0x002657BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ONDGNPKGJCB != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ONDGNPKGJCB);
			}
			this.aEOHPMBENMO_.WriteTo(ref output, TrainPartyMoveScNotify._repeated_aEOHPMBENMO_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E5FB RID: 58875 RVA: 0x0026760C File Offset: 0x0026580C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ONDGNPKGJCB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ONDGNPKGJCB);
			}
			num += this.aEOHPMBENMO_.CalculateSize(TrainPartyMoveScNotify._repeated_aEOHPMBENMO_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E5FC RID: 58876 RVA: 0x00267660 File Offset: 0x00265860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyMoveScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ONDGNPKGJCB != 0U)
			{
				this.ONDGNPKGJCB = other.ONDGNPKGJCB;
			}
			this.aEOHPMBENMO_.Add(other.aEOHPMBENMO_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E5FD RID: 58877 RVA: 0x002676AD File Offset: 0x002658AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E5FE RID: 58878 RVA: 0x002676B8 File Offset: 0x002658B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 66U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.aEOHPMBENMO_.AddEntriesFrom(ref input, TrainPartyMoveScNotify._repeated_aEOHPMBENMO_codec);
					}
				}
				else
				{
					this.ONDGNPKGJCB = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005AFD RID: 23293
		private static readonly MessageParser<TrainPartyMoveScNotify> _parser = new MessageParser<TrainPartyMoveScNotify>(() => new TrainPartyMoveScNotify());

		// Token: 0x04005AFE RID: 23294
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005AFF RID: 23295
		public const int ONDGNPKGJCBFieldNumber = 4;

		// Token: 0x04005B00 RID: 23296
		private uint oNDGNPKGJCB_;

		// Token: 0x04005B01 RID: 23297
		public const int AEOHPMBENMOFieldNumber = 8;

		// Token: 0x04005B02 RID: 23298
		private static readonly FieldCodec<TrainPartyGameGrid> _repeated_aEOHPMBENMO_codec = FieldCodec.ForMessage<TrainPartyGameGrid>(66U, TrainPartyGameGrid.Parser);

		// Token: 0x04005B03 RID: 23299
		private readonly RepeatedField<TrainPartyGameGrid> aEOHPMBENMO_ = new RepeatedField<TrainPartyGameGrid>();
	}
}
